// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   CourseRequestsLocationService.java

package com.nervytech.tutorcruise.db.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.nervytech.tutorcruise.db.dao.interfaces.ICourseRequestsLocationDAO;
import com.nervytech.tutorcruise.db.dao.model.CourseRequestsLocation;
import com.nervytech.tutorcruise.db.service.interfaces.ICourseRequestsLocationService;
import com.nervytech.tutorcruise.service.exception.TrainerCruiseServiceException;

@Service("courseRequestsLocationService")
public class CourseRequestsLocationService implements
		ICourseRequestsLocationService {

	@Autowired
	private ICourseRequestsLocationDAO requestLocationDao;

	public void saveLocation(CourseRequestsLocation reqLoc)
			throws TrainerCruiseServiceException {
		try {
			requestLocationDao.saveLocation(reqLoc);
		} catch (Exception e) {
			throw new TrainerCruiseServiceException(e.getMessage());
		}
	}

}
